package com.edu.bean;

public class Goods {
private int goodsId;
	
	private String goodsName;
	
	private String goodsFactory;
	
	private String goodsType;
	
	private double  goodsPrice;
	
	private int goodsNum;

	@Override
	public String toString() {
		return "bean [goodsId=" + goodsId + ", goodsName=" + goodsName + ", goodsFactory=" + goodsFactory
				+ ", goodsType=" + goodsType + ", goodsPrice=" + goodsPrice + ", goodsNum=" + goodsNum + "]";
	}

	public int getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(int goodsId) {
		this.goodsId = goodsId;
	}

	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public String getGoodsFactory() {
		return goodsFactory;
	}

	public void setGoodsFactory(String goodsFactory) {
		this.goodsFactory = goodsFactory;
	}

	public String getGoodsType() {
		return goodsType;
	}

	public void setGoodsType(String goodsType) {
		this.goodsType = goodsType;
	}

	public double getGoodsPrice() {
		return goodsPrice;
	}

	public void setGoodsPrice(double goodsPrice) {
		this.goodsPrice = goodsPrice;
	}

	public int getGoodsNum() {
		return goodsNum;
	}

	public void setGoodsNum(int goodsNum) {
		this.goodsNum = goodsNum;
	}

	public Goods(int goodsId, String goodsName, String goodsFactory, String goodsType, double goodsPrice,
			int goodsNum) {
		super();
		this.goodsId = goodsId;
		this.goodsName = goodsName;
		this.goodsFactory = goodsFactory;
		this.goodsType = goodsType;
		this.goodsPrice = goodsPrice;
		this.goodsNum = goodsNum;
	}

	public Goods() {
		super();
	}
}
